<template>
	<div class="box">
		<Category title="游戏">
			<template scope="game">
				<ul>
					<li v-for="(g,index) in game.games" :key="index">{{g}}</li>
				</ul>
			</template>
		</Category>
		<Category title="游戏">
			<template scope="game">
				<ol>
					<li v-for="(g,index) in game.games" :key="index">{{g}}</li>
				</ol>
			</template>
		</Category>
		<Category title="游戏">
			<template scope="game">
					<h4 v-for="(g,index) in game.games" :key="index">{{g}}</h4>
			</template>
		</Category>
	</div>
</template>

<script>
	import Category from './components/Category.vue'
	export default {
		name: 'App',
		components: {
			Category
		},
		
	}
</script>

<style>
	.box {
		display: flex;
		justify-content: space-around;
	}
</style>
